package org.coc.betterchicago.beans;

import javax.persistence.Id;

import twitter4j.User;
import twitter4j.auth.AccessToken;

public class BetterChicagoUser {

	@Id
	private long id;
	private String screen;
	private String name;
	private String token;
	private String tokenSecret;

	public BetterChicagoUser() {

	}

	public BetterChicagoUser(User user, AccessToken accessToken) {
		setId(user.getId());
		setName(user.getName());
		setScreen(user.getScreenName());
		setToken(accessToken.getToken());
		setTokenSecret(accessToken.getTokenSecret());
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getScreen() {
		return screen;
	}

	public void setScreen(String screen) {
		this.screen = screen;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getTokenSecret() {
		return tokenSecret;
	}

	public void setTokenSecret(String tokenSecret) {
		this.tokenSecret = tokenSecret;
	}

}
